package demo1;

public class Main {
    public static void main(String[] args) {
        PlayMusic playMusic = new PlayMusic();
        playMusic.setName("放音乐Thread");
        playMusic.start();

        Draw draw = new Draw();
        draw.setName("画图Thread");
        draw.start();

        for (int i = 0; i < 1000; i++) {
            System.out.println("Main方法" + i);
        }
    }
}
